package com.xjnt.tvos.tvlibs.jsbridge.data;

/**
 * 响应状态参数处理
 * Created by caoyong on 18-1-10.
 */
class ParamStatus extends BasicParam {
    ParamStatus(String paramName, Class<?> paramClass) {
        super(paramName, paramClass);
    }

    @Override
    Object getValue(DataBuilder dataBuilder) {
        return dataBuilder.get(getParamName(), getParamClass());
    }

    @Override
    void setValue(DataBuilder dataBuilder, Object value) {
        dataBuilder.put(getParamName(), value);
    }
}
